package com.atguigu.gulimall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


/**
 * 开启服务注册发现
 */
@EnableDiscoveryClient
// 排除和数据库相关的自动配置
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class Gateway88 {

    public static void main(String[] args) {
        SpringApplication.run(Gateway88.class, args);
    }

}
